package com.moetube.video.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 评论实体类
 * @author ccr
 * @version 1.1
 */
@Table(name = "comment")
@Data
public class Comment implements Serializable {
    //评论唯一id Long
    @Id
    private Long id;
    //对应视频id
    private String videoId;
    //评论内容
    private String content;
    //评论用户ID
    private String userId;
    //上级父id
    private Long parentId;
    //评论时间
    private Date commentTime;
    //客户端类型0web,1安卓,2苹果
    private Integer clientFrom;
    //点赞数
    private Long likeCount;
    //踩数
    private Long unlikeCount;

}